GetAllAdministators

SoftwareShield CheckPoint™ License Server > CheckPoint™ License Server Interfaces > CheckPoint_Webservice_References > GetAllAdministrators

## GetAllAdministrators

The GetAllAdministrators function will return all the users that are administrators in CheckPoint Database. It will be returned as a custom class TCheckPointUserRecords.

###### Syntax

TCheckPointUserRecords * GetAllAdministrators( BSTR ASessionID ) ;

###### Parameters

ASessionID

[IN] This is the session ID of the logged in user.

###### Remarks

This is a function that is called by the License Manager. This should not be used by anything else besides the license manager. The reference for this function is included only for completeness.

Only administrators are allowed to use this function.

###### Return Value

Returns the custom class TCheckPointUserRecords. The fields of interest that is related to this method are:

- Success- returns true if the function was successful, otherwise false is returned.

- ErrorMessage- If an error occurred the associated message can be found in this field.

- NumRecords- the number of records in CheckPointUserRecordArray

- CheckPointUserRecordArray- This is an array of TCheckPointUserRecord which contains all the administrators that were found. The fields of interest are:

- CheckPointUserID - this is the user id of the administrator found

- CheckPointUserName - the user name for the CheckPoint Administrator

- PasswordHash - the password hash for the user

- PrimaryEMail - the Administrators e-mail address

###### Function Information

Exposed By Interface: | "ICheckPointService"
Exposed In ISAPI DLL: | "checkpoint.dll"